/*
 COPYRIGHT 2009 ESRI

 TRADE SECRETS: ESRI PROPRIETARY AND CONFIDENTIAL
 Unpublished material - all rights reserved under the
 Copyright Laws of the United States and applicable international
 laws, treaties, and conventions.

 For additional information, contact:
 Environmental Systems Research Institute, Inc.
 Attn: Contracts and Legal Services Department
 380 New York Street
 Redlands, California, 92373
 USA

 email: contracts@esri.com
 */
//>>built
define("esri/dijit/geoenrichment/_Invoke",["../../declare"],function(d){return d("esri.dijit.geoenrichment._Invoke",null,{_invokeTimeoutIDs:null,invoke:function(a,b){if(this._invokeTimeoutIDs){if(this._invokeTimeoutIDs[a]){if(void 0===b)return;clearTimeout(this._invokeTimeoutIDs[a])}}else this._invokeTimeoutIDs={};var c=this;this._invokeTimeoutIDs[a]=setTimeout(function(){c._invokeTimeoutIDs[a]=0;c[a]()},b||0)},pendingInvoke:function(a){return!this._invokeTimeoutIDs?!1:this._invokeTimeoutIDs[a]},
cancelInvoke:function(a){if(this._invokeTimeoutIDs){var b=this._invokeTimeoutIDs[a];b&&(clearTimeout(b),this._invokeTimeoutIDs[a]=0)}}})});